package com.health.db.service.sm.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.health.db.dao.sm.IGoodsOrderContactDao;
import com.health.db.model.GoodsOrderContact;
import com.health.db.service.sm.IGoodsOrderContactService;

@Component("goodsOrderContactService")
public class GoodsOrderContactServiceImpl implements IGoodsOrderContactService {

	@Autowired
	private IGoodsOrderContactDao goodsOrderContactDao ;


	public IGoodsOrderContactDao getGoodsOrderContactDao() {
		return goodsOrderContactDao;
	}

	public void setGoodsOrderContactDao(IGoodsOrderContactDao goodsOrderContactDao) {
		this.goodsOrderContactDao = goodsOrderContactDao;
	}

	@Override
	public int insert(GoodsOrderContact record) {
		// TODO Auto-generated method stub
		return goodsOrderContactDao.insert(record);
	}

	@Override
	public int updateStatusByOrderId(GoodsOrderContact record) {
		// TODO Auto-generated method stub
		return goodsOrderContactDao.updateStatusByOrderId(record);
	}
	
}
